from django.conf.urls import url
from order.views import Order, area, area2, Commit, OrderPay, check_pay, Comment,Commentpost

app_name = 'orders'
urlpatterns = [
    url(r'^$', Order.as_view(), name='order'),
    url(r'^area/$', area, name='area'),
    url(r'^area2_(\d+)/$', area2, name='area2'),
    url(r'^commit$', Commit.as_view(), name='commit'),
    url(r'^orderpay$', OrderPay.as_view(), name='orderpay'),
    url(r'^pay_check$', check_pay, name='paycheck'),
    url(r'^comment/(?P<order_id>.*)$', Comment.as_view(), name='comment'),
    url(r'^commentpost$', Commentpost.as_view(), name='commentpost')

]